package main;

public class ApiTest {

    public static void main(String[] args)
    {
        System.out.println("主函数hi ApiTest！！");
        static_echoHi();

    }
    public static  void static_echoHi(){
        System.out.println("开始静态方法!!");
        try {
           int num= (int)(Math.random()*1000);
           System.out.println("耗时:"+num);
            Thread.sleep(num);
        }catch(Exception e){

        }

    }

}